package com.ankur.fareplease.service.impl;

import com.ankur.fareplease.factory.TaxiCityFareFactory;
import com.ankur.fareplease.model.FareDAO;
import com.ankur.fareplease.service.TaxiFareService;

public class TaxiFareServiceImpl implements TaxiFareService {

	@Override
	public float getFare(FareDAO fareDAO) {
		return TaxiCityFareFactory.getCityFare(fareDAO).getFare(fareDAO);
	}

}
